package entity;

/**
 * 订单类
 */
public class Orders {
    private int orderID;//订单id
    private int userID;//用户id
    private int siteID;//地址id
    private String creationTime;//订单创建时间
    private String receivingTime;//订单收货时间
    private double upmoney;//订单总金额
    private int stateID;//状态id
    private String remark;//备注
    private String orderNumder;//订单号
    private int distribution;//配送方式
    private String paymentTime;//付款时间
    private String deliveryTime;//发货时间

    public int getOrderID() {
        return orderID;
    }

    public void setOrderID(int orderID) {
        this.orderID = orderID;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public int getSiteID() {
        return siteID;
    }

    public void setSiteID(int siteID) {
        this.siteID = siteID;
    }

    public String getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(String creationTime) {
        this.creationTime = creationTime;
    }

    public String getReceivingTime() {
        return receivingTime;
    }

    public void setReceivingTime(String receivingTime) {
        this.receivingTime = receivingTime;
    }

    public double getUpmoney() {
        return upmoney;
    }

    public void setUpmoney(double upmoney) {
        this.upmoney = upmoney;
    }

    public int getStateID() {
        return stateID;
    }

    public void setStateID(int stateID) {
        this.stateID = stateID;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOrderNumder() {
        return orderNumder;
    }

    public void setOrderNumder(String orderNumder) {
        this.orderNumder = orderNumder;
    }

    public int getDistribution() {
        return distribution;
    }

    public void setDistribution(int distribution) {
        this.distribution = distribution;
    }

    public String getPaymentTime() {
        return paymentTime;
    }

    public void setPaymentTime(String paymentTime) {
        this.paymentTime = paymentTime;
    }

    public String getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(String deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    @Override
    public String toString() {
        return "Orders{" +
                "orderID=" + orderID +
                ", userID=" + userID +
                ", siteID=" + siteID +
                ", creationTime='" + creationTime + '\'' +
                ", receivingTime='" + receivingTime + '\'' +
                ", upmoney=" + upmoney +
                ", stateID=" + stateID +
                ", remark='" + remark + '\'' +
                ", orderNumder='" + orderNumder + '\'' +
                ", distribution=" + distribution +
                ", paymentTime='" + paymentTime + '\'' +
                ", deliveryTime='" + deliveryTime + '\'' +
                '}';
    }
}
